#ifndef __BSP_UART_H__
#define __BSP_UART_H__

#include "fsl_common.h"
#include "fsl_iomuxc.h"
#include "MCIMX6Y2.h"
#include "stdio.h"

void UART_Init(UART_Type *uart,uint32_t bound);
void UART_Enable(UART_Type*uart);
void UART_Disable(UART_Type*uart);
void UART_SoftReset(UART_Type *base) ;

void putc(unsigned char c);
unsigned char getc(void);
void puts(const char *str);

#endif // __BSP_UART_H__
